﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace MediaForce.ClientIntegration.ServiceHost
{
    public class MediaForceCredential
    {
        private string _emailAddress;
        private string _password;

        public string EmailAddress
        {
        	get {	return _emailAddress; }
        	set { _emailAddress = value;	}
        }

        public string Password
        {
        	get {	return _password; }
        	set { _password = value;	}
        }
    }


    public enum ClientIntegrationItemType
    {
        ContactItems=1, MailItems=2, AppointmentItems=3, AllItems=4
    }

    // NOTE: If you change the interface name "IOutlookIntegrationService" here, you must also update the reference to "IOutlookIntegrationService" in App.config.
    public abstract class ClientIntegrationItem
    {

    }

    [ServiceContract]
    public interface IOutlookIntegrationService
    {
        [OperationContract]
        List<ClientIntegrationItem> GetClientIntegrationItems(MediaForceCredential credentials, ClientIntegrationItemType itemsToGet, ulong Id);

        [OperationContract]
        void UpdateItems(MediaForceCredential credentials, List<ClientIntegrationItem> items); 
    }
}
